package com.bojiu.lawsearch.lawsearch.mapper;

import com.bojiu.lawsearch.lawsearch.model.Engineer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: afdiao
 * @Date：2020/3/2 23:05
 * @Description:
 */
@Repository
@Mapper
public interface EngineerMapper extends ObjMapper<Engineer> {
    List<Engineer> getUserfulEngineerBylabel(@Param("labelId") int labelId);

    Engineer getLastEngineer(@Param("userId") int userId);
}
